import request from '@/config/axios'


// facebook广告主 API
export const FlowApi = {
  // 查询facebook广告主分页
  getFlowPage: async (params: {
                        pageNo: number;
                        pageSize: number;
                      }
  ) => {
    return await request.get({url: `/admin-api/cost/flow/page`})
  }
  ,
// 获取账单列表
  getFlowDetail: async (params: {
    flowId: number;
    timeConsuming?: string;
    pageNo: number;
    pageSize: number;
  }) => {
    return await request.get({url: `/admin-api/cost/flow-detail/page`, params})
  },

}
